﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class Nmsgcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public Nmsgcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string content { get; set; }
        private void btnclose_Press(object sender, EventArgs e)
        {

        }

        private void btnsub_Press(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Nmsgcontrol_Load(object sender, EventArgs e)
        {
            lbltitle.Text = title;//消息标题
            lblcontent.Text = content;//内容
        }
    }
}